Endpoint: /analyze/image/<id>
Returns the found images and their occurring as selectors.
Request
URL
Method: GET
/api/analyze/image/<id>
Request Parameters
id: ID of the website (required)
Request Body
no request body
Response
Response Elements
id: ID of the requested websitestoredImages: list of stored images of the requested websitestoredImages.id: ID of the stored imagestoredImages.selectors: list of selectors of occuring image
Examples
Request
GET /api/analyze/image/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Content-type: application/json
Response
{
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"storedImages": [
{
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"selectors": [
"body:nth-of-type(1) \u003E img:nth-of-type(1)",
"body:nth-of-type(1) \u003E img:nth-of-type(4)"
]
},
{
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"selectors": [
"body:nth-of-type(1) \u003E img:nth-of-type(2)",
// ...
]
},
// ...
]
}